<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <meta charset="utf-8">
    <title>{$title}</title>
    <link rel="shortcut icon" href="__STATIC__/src/common/img/cauliflower-small.png" type="image/x-icon" />
    <link rel="stylesheet" type="text/css"  href="__STATIC__/src/common/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css"  href="__STATIC__/src/common/css/common.css" />
</head>
<body>
{include file="common@common/header"}
<div class="">
    <div class="">
        <div class="col-md-2 col-md-offset-1">
            {include file="common/leftPanel"}
        </div>
        <div class="col-md-4">
            <form method="POST" action="deleteStudent">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        <h3 class="panel-title">学生列表</h3>
                    </div>
                    <table class="table table-striped">
                        <tr>
                            <th><input type="checkbox" onchange="checkAllOrNot(this)"/></th>
                            <th>ID</th>
                            <th>学生名称</th>
                        </tr>
                        {volist name="students" id="student" key="ID"}
                        <tr>
                            <td><input type="checkbox" name="items[]" value="" onchange="changeValue(this)"/></td>
                            <td>{$ID}</td>
                            <td>{$student.user_name}</td>
                        </tr>
                        {/volist}
                    </table>
                </div>
                <button type="submit" class="btn btn-primary">删除学生</button>
            </form>
        </div>
    </div>
</div>
<script src="__STATIC__/src/common/js/jquery-3.2.1.js"></script>
<script src="__STATIC__/src/common/js/bootstrap.js"></script>
<script src="__STATIC__/src/common/js/admin.js"></script>
</body>
</html>